﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="DtCms.Web.index" ValidateRequest="false" %>
<%@ Import namespace="DtCms.Common" %>
<%@ Register TagPrefix="DtContorl" Namespace="DtCms.Web.UI" Assembly="DtCms.Web.UI" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><%=SiteConfig.WebName%> - DTCMS系统|ASP.NET开源|开源CMS|网站管理系统|互联网开发</title>
<!-- ===== seo ===== -->
<%=AddMetaInfo(SiteConfig.WebKeywords, SiteConfig.WebDescription)%>
<!-- ===== css ===== -->
<link rel="shortcut icon" href="<%=SiteConfig.WebPath%>favicon.ico" mce_href="<%=SiteConfig.WebPath%>favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="<%=SiteTemplatePath("default")%>css/style.css" />
<script type="text/javascript" src="<%=SiteConfig.WebPath%>js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="<%=SiteTemplatePath("default")%>js/base.js"></script>
</head>
<body>

<!--[if lt IE 7]>
	<div style='border: 1px solid #F7941D; background: #FEEFDA; text-align: center; clear: both; height: 75px; position: relative;'>
		<div style='position: absolute; right: 3px; top: 3px; font-family: courier new; font-weight: bold;'><a href='#' onclick='javascript:this.parentNode.parentNode.style.display="none"; return false;'><img src='http://www.ie6nomore.com/files/theme/ie6nomore-cornerx.jpg' style='border: none;' alt='关闭此通知'/></a></div>
		<div style='width: 640px; margin: 0 auto; text-align: left; padding: 0; overflow: hidden; color: black;'>
			<div style='width: 75px; float: left;'><img src='http://www.ie6nomore.com/files/theme/ie6nomore-warning.jpg' alt='Warning!'/></div>
			<div style='width: 275px; float: left; font-family: Arial, sans-serif;'>
				<div style='font-size: 14px; font-weight: bold; margin-top: 12px;'>您使用的是过时的浏览器</div>
				<div style='font-size: 12px; margin-top: 6px; line-height: 14px;'>为了获得更好的浏览体验，<br />推荐使用右侧所示的先进浏览器。</div>
			</div>
			<div style='width: 75px; float: left;'><a href='http://www.firefox.com' target='_blank'><img src='http://www.ie6nomore.com/files/theme/ie6nomore-firefox.jpg' style='border: none;' alt='Get Firefox'/></a></div>
			<div style='width: 75px; float: left;'><a href='http://windows.microsoft.com/zh-CN/internet-explorer/downloads/ie' target='_blank'><img src='http://www.ie6nomore.com/files/theme/ie6nomore-ie8.jpg' style='border: none;' alt='Get Internet Explorer'/></a></div>
			<div style='width: 73px; float: left;'><a href='http://www.apple.com/safari/download/' target='_blank'><img src='http://www.ie6nomore.com/files/theme/ie6nomore-safari.jpg' style='border: none;' alt='Get Safari'/></a></div>
			<div style='float: left;'><a href='http://www.google.com/chrome' target='_blank'><img src='http://www.ie6nomore.com/files/theme/ie6nomore-chrome.jpg' style='border: none;' alt='Get Google Chrome'/></a></div>
		</div>
	</div>
<![endif]-->


<div class="top">
	<!-- ===== LOGO ===== -->
	<h1><a href="<%=SiteConfig.WebUrl%>">DTcms</a></h1>
	<a href="<%=SiteConfig.WebUrl%>" target="_blank" class="dt_logo">动力起航</a>
	<!-- ===== 导航 ===== -->
	<ul class="nav">
		<li><a href="<%=URLRewrite("index", "")%>">主页</a></li>
		<li><a href="<%=URLRewrite("article", "")%>">资讯中心</a></li>
		<li><a href="<%=URLRewrite("picture", "")%>">图文中心</a></li>
		<li><a href="<%=URLRewrite("download", "")%>">下载中心</a></li>
		<li><a href="<%=URLRewrite("feedback", "")%>">在线留言</a></li>
		<li><a href="<%=URLRewrite("content", "about")%>">关于我们</a></li>
		<li><a href="<%=URLRewrite("content", "contact")%>">联系我们</a></li>
	</ul>
</div>

<!-- ===== 正文内容 ===== -->
<div class="container">
	
    <div class="search_box">
        <input id="txtKeywords" name="txtKeywords" type="text" class="text" value="<%=Request.QueryString["keyword"]%>" />
	    <input type="button" class="button" onclick="SiteSearch('<%=SiteConfig.WebPath%>search.aspx', '#txtKeywords');" />
	</div>

	<!-- ===== 横幅广告 ===== -->
	<div class="banner"><script type="text/javascript" src="/Tools/Advert_js.ashx?id=1"></script></div>
	<div class="ad_text">
		<h2>关于动力启航DTcms网站内容管理系统</h2>
		<%=GetContent("index_about") %>
		<a href="<%=URLRewrite("content", "about")%>">查看更多内容</a></div>
	<hr />
	<h2 class="h2_link"><a href="<%=URLRewrite("picture", "")%>">图文展示</a></h2>
	<div class="product_list">
		<ul>
			<DtContorl:Repeater ID="pictureList" runat="server" onload="Picture_List_DataBind" Top="4" Where="IsLock=0 and IsRed=1">
            <ItemTemplate>
                <li><a href="<%#URLRewrite("picture_show", Eval("Id"))%>"><img src="<%#Eval("ImgUrl")%>" width="196" height="196" alt="<%#Eval("Title")%>" /><%#Utils.CutString(Eval("Title").ToString(), 26)%></a>
		        </li>
            </ItemTemplate>
            </DtContorl:Repeater>
		</ul>
	</div>
	<div class="clear"></div>
	<hr />
	<h2 class="h2_link"><a href="<%=URLRewrite("article", "")%>">最新新闻</a></h2>
	<div class="news_list">
		<ul>
			<DtContorl:Repeater ID="newsList" runat="server" onload="Article_List_DataBind" Top="4" Where="IsLock=0 and IsRed=1">
            <ItemTemplate>
                <li><a href="<%#URLRewrite("article_show", Eval("Id"))%>"><%#Utils.CutString(Eval("Title").ToString(), 38)%></a><i><%#Eval("AddTime")%></i>
			    <p><%#Utils.CutString(Eval("Daodu").ToString(), 84)%></p>
		        </li>
            </ItemTemplate>
            </DtContorl:Repeater>
		</ul>
	</div>
	<div class="clear"></div>
	<hr />
	<div class="other3">
		<ul>
			<li>
				<h3>资源下载</h3>
				<img src="<%=SiteTemplatePath("default")%>images/download.jpg" width="244" height="93" />
				<ul id="index_download_list">
                    <DtContorl:Repeater ID="downList" runat="server" onload="Download_List_DataBind" Top="3" Where="IsLock=0 and IsRed=1">
                        <ItemTemplate>
                            <li><a href="<%#URLRewrite("download_show", Eval("Id"))%>"><%#Utils.CutString(Eval("Title").ToString(), 38)%></a></li>
                        </ItemTemplate>
                    </DtContorl:Repeater>
				</ul>
				<a class="read_more" href="<%=URLRewrite("download", "")%>">Read more</a></li>
			<li>
				<h3>留言反馈</h3>
				<img src="<%=SiteTemplatePath("default")%>images/feedback.jpg" width="244" height="93" />
				<DtContorl:Repeater ID="rptFeedback" runat="server" onload="Feedback_List_DataBind" Top="1" Where="IsLock=0">
                <ItemTemplate>
                <p><b><%#Eval("UserName")%>：</b><%#Eval("Title")%></p>
				<i><%#Eval("AddTime")%></i>
                </ItemTemplate>
                </DtContorl:Repeater>
                <a class="read_more" href="<%=URLRewrite("feedback", "")%>">Read more</a></li>
			<li>
				<h3>联系我们</h3>
				<img src="<%=SiteTemplatePath("default")%>images/contact.jpg" width="244" height="93" />
				<%=GetContent("index_contact") %>
				<a class="read_more" href="<%=URLRewrite("content", "contact")%>">Read more</a></li>
		</ul>
	</div>
	<div class="clear"></div>
</div>

<div class="bottom">
	<!-- ===== 友情链接 ===== -->
	<div class="links">
		<h3>友情链接</h3>
		<p>
		  <DtContorl:Repeater ID="rptLink1" runat="server" onload="Link_List_DataBind" Top="10" Where="IsLock=0 and IsRed=1 and IsImage=0">
            <ItemTemplate>
            <a target="_blank" href="<%#Eval("WebUrl")%>"><%#Eval("Title")%></a>
            </ItemTemplate>
          </DtContorl:Repeater>
		</p>
		<p>
		  <DtContorl:Repeater ID="rptLink2" runat="server" onload="Link_List_DataBind" Top="12" Where="IsLock=0 and IsRed=1 and IsImage=1">
            <ItemTemplate>
            <a target="_blank" href="<%#Eval("WebUrl")%>"><img src="<%#Eval("ImgUrl")%>" alt="<%#Eval("Title")%>" width="88" height="31" /></a>
            </ItemTemplate>
          </DtContorl:Repeater>
		</p>
		<div class="clear"></div>
	</div>
	<!-- ===== 版权和其他链接 ===== -->
	<div class="footer">
		<p class="footer_links"><a href="<%=URLRewrite("content", "about")%>">关于我们</a>|<a href="<%=URLRewrite("content", "contact")%>">联系我们</a>|<a href="<%=URLRewrite("feedback", "")%>">在线留言</a>|<a href="<%=URLRewrite("link", "")%>">友情链接</a></p>
		<p class="copyright">Copyright Right &copy; 2010-2011 it134.cn Powered By DTcms Inc <script src="http://s24.cnzz.com/stat.php?id=1996164&web_id=1996164&show=pic" language="JavaScript"></script></p>
		<div class="clear"></div>
	</div>
</div>

</body>
</html>

<!-- 本页面代码由DTCMS模板引擎生成于 2011-11-16 11:30:01 -->